module "synth"

function chunk_size(ch)
	return ch[1]
end

function chunk_addref(ch)
	ch[2] = ch[2] + 1
end

function chunk_release(ch)
	ch[2] = ch[2] - 1
	-- TODO: If count goes to 0, put into chunk pool
end

chunk_constant = synthc.chunk_constant